package com.apeli.model;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

//@Component
public class ApeliFactoryBean implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        User user = new User("aa",10);
        return user;
    }

    @Override
    public Class<?> getObjectType() {
        return User.class;
    }
}
